/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #774b34;
    color: rgb(255, 255, 255);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #B8860B;
}

/* 新闻链接样式 */
.news a {
    color: white;
    text-decoration: none;
    border: 1px solid #ACACAC;
    padding: 10px 20px;
    border-radius: 5px;
}

/* 团队成员样式 */
.team-members {
    padding: 60px 20px;
    background-color: #000;
    color: white;
    text-align: center;
}

.team-header {
    margin-bottom: 40px;
}

.team-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.back-button {
    display: inline-block;
    background-color: #555521;
    color: white;
    padding: 8px 25px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 30px;
}

.members-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    width: 200px;
}

.member-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #D4AF37;
     object-fit: cover;
}

.member-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #D4AF37;
}

.member-info .bio {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
}

/* 功能卡片样式 */
.feature-cards {
    background-color: #e4e4e3;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cards-container {
    width: 300px;
    height: 450px;
}

/* 功能卡片样式 - 添加悬浮效果 */
.feature-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* 添加过渡效果使动画平滑 */
    transition: all 0.3s ease;
    /* 初始状态阴影 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* 确保卡片有定位上下文 */
    position: relative;
    z-index: 1;
}

/* 鼠标悬停时的效果 */
.feature-card:hover {
    /* 向上移动并轻微放大 */
    transform: translateY(-10px) scale(1.03);
    /* 增强阴影效果 */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    /* 提高层级确保显示在上方 */
    z-index: 10;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-btn {
    display: inline-block;
    background-color: #0071e3;
    color: white;
    padding: 12px 0;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
    font-size: 16px;
    margin-top: auto;
}

.card-btn:hover {
    background-color: #07468f;
}

/* 搜索输入样式 */
nav ul li.search-item {
    margin-left: 30px;
}

.search-input {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    color: white;
    font-size: 14px;
    width: 150px;
    transition: width 0.3s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    width: 200px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
}